package cz.muni.fi.pb168.eis_web;

/**
 * A VERY simple implementation of the Authenticator interface.
 * @author Jakub Senko
 */
public class SimpleAuthenticator implements Authenticator
{

    @Override
    public boolean authenticate(String[] credentials)
    {
        String userName = credentials[0];
        
        String userPassword = credentials[1];
        
        return ("admin".equals(userName) && "pswd".equals(userPassword));
    }
    
}
